package com.sayimo.maker.base.service;

import java.io.File;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.sayimo.framework.exception.ServiceException;

/**
 * @Project: schoolmallapi
 * @ClassName: CouponCustomerService
 * @Description: 现金券用户
 * @author:	曹频辉
 * @date:	日期：2015年12月25日  时间：上午9:52:49
 * @version 1.0.0
 */
public interface UploadFileService {

	/** 
	* @Title: uploadFile
	* @Description: 文件上传
	* @author chenpy
	* @param files
	* @param fileNames
	* @param busCode 
	* <p>
	* 	<ul>
	* 		<li>001基础数据</li>
	* 		<li>002商品</li>
	*	</ul>
	*</p>
	* @throws ServiceException
	* @return Map
	*/ 
	@SuppressWarnings("rawtypes")
	public Map uploadFile(File[] files, String[] fileNames,String filePath,String imagePath) throws ServiceException;
	

	
	public Map writeFilePHP(HttpServletRequest request) throws ServiceException;
	
	
	public Map writeFile(HttpServletRequest request) throws ServiceException;
}
